<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Search a restaurant</title>
<link href="/VancouverTongue/static/style.css" type="text/css"
	rel="stylesheet" />

<link rel="shortcut icon" href="/VancouverTongue/static/icon.png">

</head>
<body>
	<jsp:include page="headTemplate.jsp" />

	${confirmInfo} ${discardInfo}

	<div>
		<ul>
			<li>New Restaurant Request List:</li>
		</ul>
		${noAddRequest}
		<c:forEach var="newReq" items="${newReq}">
			<table class="info">
				<tr>
					<th class="text"><a
						href="/VancouverTongue/admin/request/${newReq.requestId}">${newReq.restaurantName}</a>
						<p>Edit By:${newReq.editBy}</p>
						<p>Request Date:${newReq.date}</p></th>

					<th class="image"><img src="${newReq.image}"
						alt="Restaurant Image" width="150" height="150" /></th>
				</tr>
			</table>
		</c:forEach>


	</div>
	<div>
		<ul>
			<li>Edit Restaurant Request List:</li>
		</ul>
		${noEditRequest}
		<c:forEach var="editReq" items="${editReq}">
			<table class="info">
				<tr>
					<th class="text"><a
						href="/VancouverTongue/admin/request/${editReq.requestId}">${editReq.restaurantName}</a>
						<p>Edit By:${editReq.editBy}</p>
						<p>Request Date:${editReq.date}</p></th>

					<th class="image"><img src="${editReq.image}"
						alt="Restaurant Image" width="150" height="150" /></th>
				</tr>
			</table>
		</c:forEach>
	</div>

</body>
</html>